//
//  DecimalNumberTool.h
//  CBT
//
//  Created by Mr.Zhang on 2019/3/7.
//  Copyright © 2019 Mr.Zhang. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface DecimalNumberTool : NSObject

+ (float)floatWithdecimalNumber:(double)num;

+ (double)doubleWithdecimalNumber:(double)num;

+ (NSString *)stringWithDecimalNumber:(double)num;

+ (NSDecimalNumber *)decimalNumber:(double)num;

+ (NSString *)stringWithDecimalString:(NSString *)string;

+ (NSString *)formatNumberWithString:(NSString *)string isAssets:(BOOL)assets;
@end

NS_ASSUME_NONNULL_END
